package test.pojo;

import beans.factory.annotation.Value;
import context.stereotype.Component;

@Component
public class School {
	
	@Value("002")
	private Integer id;

	@Value("阴阳家学院")
	private String name;
	
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
}
